<?php

return array(
    //'配置项'=>'配置值'
    'LOAD_EXT_CONFIG' => 'db,url,upload,tags,pay,about,version', //数据库扩展配置
    'URL_CASE_INSENSITIVE' => false,
    'MANAGE_PUBLIC_URL' => 'http://' . QRMASTER_URL . '/Extend/Public', //手机区号
    'MANAGE_SYN_URL' => 'http://' . QRMASTER_URL . '/Extend/Syn',
    'MANAGE_QRCODE_URL' => 'http://' . QRMASTER_URL . '/Extend/QrcodeClient',
    'MANAGE_RFCARD_URL' => 'http://' . QRMASTER_URL . '/Extend/RFCardClient',
    'MANAGE_QRCLIENT_URL' => 'http://cz.uclbrt.com/Extend/Qrclient',
    'MANAGE_INTERFACESERVER_URL' => 'http://' . QRCLIENT_URL . '/Extend/InterfaceServer',
    // redis数据库配置
    'REDIS_ORDER_DB' => 1, // 存放预定端订单相关数据
    'REDIS_ROOM_DB' => 2, // 存放socket服务器定时清空数据
    'REDIS_HOME_DB' => 3, // 存放网页端专用的数据，如记住登录的GUID
    'REDIS_MANAGE_PUSH_DB' => 4, // 掌柜说推送数据
    'REDIS_ORDER_PUSH_DB' => 5, // 存放预定端推送数据
    'REDIS_ORDER_REMIND_DB' => 6, // 存放客栈闹钟提醒数据
    'REDIS_SERVERIP' => '127.0.0.1',
    'REDIS_SERVERPORT' => 6379,
    'REDIS_AUTH_PASSWORD' => 'UclBrtHongWei1qaz!QAZ', // redis授权密码
    // 分页参数设置
    'PAGE_SIZE' => '20',
    'NEWS_PAGE_SIZE' => '10',
    'MAX_PAGES' => '8',
    // 默认模块、控制器以及方法
    'DEFAULT_MODULE' => 'Home',
    'DEFAULT_CONTROLLER' => 'PublicPage',
    'DEFAULT_ACTION' => 'index',
    'SHOW_PAGE_TRACE' => 0,
    //语言配置
    'LANG_SWITCH_ON' => true, // 开启语言包功能
    'LANG_AUTO_DETECT' => true, // 自动侦测语言 开启多语言功能后有效
    'DEFAULT_LANG' => 'zh_cn',
    'LANG_LIST' => 'zh_cn,en_us,zh_tw', // 允许切换的语言列表 用逗号分隔
    'VAR_LANGUAGE' => 'l', // 默认语言切换变量
    'DEFAULT_THEME' => 'zh_cn',
    // COOKIE设置
    'COOKIE_EXPIRE' => 2592000, // Cookie有效期
    'COOKIE_PREFIX' => 'mz_', // Cookie前缀 避免冲突
    'COOKIE_HTTPONLY' => 1, // Cookie httponly设置
    // 后台服务
    'TASK_SERVER_IP' => '127.0.0.1',
    'TASK_SERVER_PORT' => '9503',
    'SOCKET_SERVER_IP' => '120.24.54.2',
    'SOCKET_SERVER_PORT' => '9501',
    'SOCKET_SERVER_NEWS_IP' => '120.24.54.2',
    'SOCKET_SERVER_NEWS_PORT' => '13256',
    'SOCKET_SERVER_REMIND_IP' => '120.24.54.2',
    'SOCKET_SERVER_REMIND_PORT' => '13257',
    'SOCKET_SERVER_CHECKROOM_IP' => '120.24.54.2',
    'SOCKET_SERVER_CHECKROOM_PORT' => '13258',
    //信息提示模板
    'TMPL_ACTION_SUCCESS' => 'MessagePage/success',
    'TMPL_ACTION_MESSAGE' => 'MessagePage/tip',
    'TMPL_ACTION_ERROR' => 'MessagePage/error',

    'MZ_GET_NUMBER_BASE' => 180415,
    'MZ_COUPON_NUMBER_BASE' => 180104,
    'MZ_ORDER_NUMBER_BASE' => 130318,
    'MEIZHU_HASHIDS_SALT' => 'meiZhUhaShiDsALt',
    'MEIZHU_ENCRYPT_SALT' => 'mzUclbrt',

    // 极光推送配置
    'JPUSH_CONFIG' => array(
        'appID' => '217175cf782f1a531ffe8f11',
        'appSecret' => 'f6cae609c7bf2154a56180b0',
        'logPath' => LOG_PATH . 'JPush/' . date('Y-m-d') . '.log',
        'alert' => '新订单消息',
        'debug' => false, // 极光推送debug
        'debugTag' => array('test'),
    ),

    // 钥匙包极光推送配置
    'JPUSH_CONFIG_QRCLIENT' => array(
        'appID' => '8294a8dd6881d4e48db8ff18',
        'appSecret' => '646f70c00af531cc84d56502',
        'logPath' => LOG_PATH . 'JPush/' . date('Y-m-d') . '.log',
        'alert' => '掌柜说推送消息',
        'qrDebug' => false, // 钥匙包极光推送debug
        'debugTag' => array('test'),
    ),

    // 印刷文字识别_身份证识别 
    'APPCODE' => '1192ee80d8c74c128aa500a12f8056de',
);

